<%@page pageEncoding="UTF-8"%>
<%@include file="/common/common.jsp"%>

<style>
   #tbOperator input{
      width:80px;
   }
</style>

<w:layout height="100%" type="horizontal" width="100%">
  <w:layoutPanel height="50%" width="75%">
<div style="width:100%;height:100%">   
<r:datacell height="280" 
            pageSize="1000"  
            entityType="com.hms.OrderMgr.order.WeTransdeatil" 
            id="bills" 
            isCount="false" 
            readonly="false" 
            width="100%" 
            linkId="gress" 
            linkField="bills">
  <l:notEmpty property="weordertasks/iorderid">
     <r:toolbar location="top" tools="edit:refresh"/>
  </l:notEmpty>

  <l:empty property="weordertasks/iorderid">
     <r:toolbar location="top" tools="edit:del"/>  
  </l:empty>
    
  <r:field fieldName="isselect" label="选择" width="40">
     <h:switchCheckbox checkedValue="Y" uncheckedValue="N"/>
  </r:field>
  <r:field fieldName="cgresno" label="客单号" onRefreshFunc="getGresNo">
  </r:field>
  <r:field fieldName="citemcode" label="消费项目">
  </r:field>  
  <r:field fieldName="ndebit" label="消费金额" width="70" >
  </r:field>     
  <r:field fieldName="ncredit" label="结算金额" width="70">
  </r:field>    
  <r:field fieldName="croomno" label="房号" onRefreshFunc="getRoomNo">
  </r:field> 
  <r:field fieldName="nqty" label="数量" width="50">
  </r:field>        
  <r:field fieldName="dcreated" label="交易日期"  width="90">
  </r:field>        
  <r:field fieldName="dbusinessdate" label="营业日期"  width="90">
  </r:field>  
  <r:field fieldName="cstatus" label="状态"  onRefreshFunc="getBillStatusName" width="80">
  </r:field>    
  <r:field fieldName="ccreatedby" label="操作员"  width="80">
  </r:field>            
</r:datacell> 
</div>
  </w:layoutPanel>
  <w:layoutPanel height="50%" width="25%" >
<div style="width:100%;height:100%">    
<table  class="form_table" style="width:100%;" id="tbOperator">
  <tr>
    <td align="center" style="width:50%">
      <input name="btnHandler" type="button" class="button" id="txtCash" value="现金" >
    </td>
    <td  align="center" style="width:50%">
      <input name="btnHandler"  type="button" class="button" value="入账" id="txtAccount">
    </td>
  </tr>
  <tr>
    <td align="center" style="width:50%">
      <input name="btnHandler"  type="button" class="button" value="现金支出" id="txtCashOut"> 
    </td>
    <td  align="center" style="width:50%">      
      <input name="btnHandler"  type="button" class="button" value="部分结账" id="txtPartComplete">
    </td>
  </tr>  
  <tr>
    <td align="center"  style="width:50%">
      <input name="btnHandler"  type="button" class="button" value="银行卡" id="txtCard">
    </td>
    <td  align="center" style="width:50%">   
      <input name="btnHandler"  type="button" class="button" value="结账" id="txtComplete">
    </td>
  </tr>    
  <tr>
    <td align="center"  style="width:50%">
      <input  name="btnHandler" type="button" class="button" value="银行卡支出" id="txtCardOut">
    </td>
    <td  align="center" style="width:50%">        
      <input  name="btnHandler" type="button" class="button" value="转账" id="txtTransfer">
    </td>
  </tr>  
  <tr>
    <td align="center"  style="width:50%">
      <input  name="btnHandler" type="button" class="button"  value="商品" id="txtProduct">
    </td>
    <td  align="center" style="width:50%">        
      <input  name="btnHandler" type="button" class="button"  value="冲减" id="txtRevese">
    </td>
  </tr>  
  <tr>
    <td align="center"style="width:50%">
      <input  name="btnHandler" type="button" class="button"  value="赔偿" id="txtCompensate">
    </td>
    <td  align="center" style="width:50%">         
      <input  name="btnHandler" type="button" class="button" value="挂账" id="txtWorkAccount">
    </td>
  </tr>    
  <tr>
    <td align="center" style="width:50%">
       <input name="btnHandler"  type="button" class="button" value="日租房费" id="txtRent">
    </td>
    <td  align="center" style="width:50%">             
      <input name="btnHandler"  type="button" class="button" value="打印">
    </td>
  </tr>  
  <tr>
    <td align="center" style="width:50%">
      <input name="btnHandler"  type="button" class="button" value="其它杂项" id="txtOthers">
    </td>
    <td  align="center" style="width:50%">  
     
    </td>
  </tr>    
  <tr>
    <td class="form_label">消费金额</td>
    <td>
      <input name="btnHandler"  type="text" id="txtConsumAmt" style="width:100%" readonly="true">
    </td>
  </tr>  
  <tr>    
    <td class="form_label">结算金额</td>
    <td>
      <input name="btnHandler"  type="text" id="txtAccountAmt"  style="width:100%" readonly="true">    
    </td>
  </tr>       
  <tr>   
    <td class="form_label">余额</td>
    <td>
      <input name="btnHandler"  type="text" id="txtBalanceAmt"  style="width:100%" readonly="true">        
    </td>
  </tr>         
</table>  
</div>
  </w:layoutPanel>
</w:layout>


